package com.tx.test;

import com.tx.service.PayService;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;

public class TxMainClass {
	public static void main(String[] args) {
		AnnotationConfigApplicationContext context = new AnnotationConfigApplicationContext(TxMainConfig.class);

		PayService payService = context.getBean(PayService.class);
		payService.pay("123456789",10);
	}
}
